<script type="text/javascript">
$('#indexPage').live('pagecreate',function(event){
	$('img.reflect').click(
			function(){
				$(this).animate({opacity:0.4},400, function(){
						$(this).animate({opacity:1},300);
					});
			}
		);
});
</script>
<div data-role="page"
	id="indexPage">
	<div data-role="header" data-theme="b">
		<h1>管理员首页</h1>
		<?php echo CHtml::link("主页",array("site/index"),array("data-icon"=>"home"))?>
		<?php echo CHtml::link("注销",array("site/logout"),array("data-icon"=>"delete"));?>
	</div>
	<!-- /header -->

	<div data-role="content">
		<div class='category_icon'>
			<div>
			<?php
			$imageHtml= CHtml::image(Yii::app()->baseUrl."/images/category/news.png","掌上论坛",array("class"=>"reflect"));
			echo CHtml::link($imageHtml,array("news/admin"),array("rel"=>"external"));
			?>
			</div>
			<div>
				<span>News分类管理</span>
			</div>
		</div>
		<div class='category_icon'>
			<div>
			<?php
			$imageHtml= CHtml::image(Yii::app()->baseUrl."/images/category/news.png","掌上论坛",array("class"=>"reflect"));
			echo CHtml::link($imageHtml,array("news/postadmin"),array("rel"=>"external"));
			?>
			</div>
			<div>
				<span>News内容管理</span>
			</div>
		</div>
		<div class='category_icon'>
			<div>
			<?php
			$imageHtml= CHtml::image(Yii::app()->baseUrl."/images/category/bbs.png","掌上论坛",array("class"=>"reflect"));
			echo CHtml::link($imageHtml,array("bbs/admin"),array("rel"=>"external"));
			?>
			</div>
			<div>
				<span>Bbs分类管理</span>
			</div>
		</div>
		<div class='category_icon'>
			<div>
			<?php
			$imageHtml= CHtml::image(Yii::app()->baseUrl."/images/category/bbs.png","掌上论坛",array("class"=>"reflect"));
			echo CHtml::link($imageHtml,array("bbs/postadmin"),array("rel"=>"external"));
			?>
			</div>
			<div>
				<span>Bbs内容管理</span>
			</div>
		</div>
		<div style='clear: both'></div>
	</div>
	<!-- /content -->

	<?php $this->renderPartial("//site/footer")?>
	<!-- /footer -->

	<!-- /footer -->
</div>
<!-- /page -->
